package com.crm.dao.mapper.customMapper.csd;

import com.crm.model.entity.customerManager.Customer;
import com.crm.model.qo.csd.customerManager.CustomerQO;
import com.crm.model.vo.csd.customerManager.CustomerDetailVO;
import com.crm.model.vo.csd.customerManager.CustomerMemberCardDetailVO;
import com.crm.model.vo.csd.customerManager.CustomerVO;
import com.crm.model.vo.csd.customerManager.MemberCardDetailVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yincuimei
 * @Date 2021/7/22 16:45
 * (客服部)客户管理-会员卡详情
 */
public interface CustomerMemberCardDetailCustomMapper {

    /**
     * 会员卡详细信息
     * @param customerProductDetailMemberCardId 会员卡id
     * @return
     */
    CustomerMemberCardDetailVO selectCustomerCardDetail(@Param("customerProductDetailMemberCardId") String customerProductDetailMemberCardId);

    /**
     * 查询会员卡明细
     * @param customerProductDetailMemberCardId 会员卡id
     * @return
     */
    MemberCardDetailVO selectMemberCardDetail(@Param("customerProductDetailMemberCardId") String customerProductDetailMemberCardId);

    /**
     * 查询会员卡
     * @param customerProductDetailMemberCardId
     * @return
     */
    CustomerMemberCardDetailVO selectCustomerCard(@Param("customerProductDetailMemberCardId") String customerProductDetailMemberCardId);

    /**
     * 修改会员卡信息
     * @param vo
     * @return
     */
    Boolean updateCardXml(@Param("vo") CustomerMemberCardDetailVO vo);
}
